import request from '@/utils/request'

// 查询HtResume列表
export function listHtResume(query) {
    return request({
        url: '/api/v1/ht-resume',
        method: 'get',
        params: query
    })
}

// 查询HtResume详细
export function getHtResume (id) {
    return request({
        url: '/api/v1/ht-resume/' + id,
        method: 'get'
    })
}


// 新增HtResume
export function addHtResume(data) {
    return request({
        url: '/api/v1/ht-resume',
        method: 'post',
        data: data
    })
}

// 修改HtResume
export function updateHtResume(data) {
    return request({
        url: '/api/v1/ht-resume/'+data.id,
        method: 'put',
        data: data
    })
}

// 删除HtResume
export function delHtResume(data) {
    return request({
        url: '/api/v1/ht-resume',
        method: 'delete',
        data: data
    })
}

